package com.shop.cereshop.app.service.recommend;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.app.page.recommend.RecommendPageVO;
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.common.PageParam;
import com.shop.cereshop.commons.domain.recommend.CereRecommendDraft;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
* @author Administrator
* @description 针对表【cere_recommend_draft(动态草稿箱表)】的数据库操作Service
* @createDate 2025-08-22 16:47:47
*/
public interface CereRecommendDraftService extends IService<CereRecommendDraft> {

    Page<RecommendPageVO> getDraftPage(@NotNull(message = "参数不为空") PageParam param, CereBuyerUser user);

    RecommendPageVO getDraftDetailById(@NotNull(message = "参数不为空") Long draftId);

    Integer deleteUserInfo(@Param("recommendIds") List<Long> recommendIds, @Param("buyerUserId") Long buyerUserId);
}
